import request from '@/base/service'

export function listNotice (data) {
  return request({
    url: '/aggregateservice-web/api/notice/listNotice',
    method: 'post',
    data
  })
}

export function getNotice (data) {
  return request({
    url: '/aggregateservice-web/api/notice/getNotice',
    method: 'post',
    data
  })
}

export function listNews (data) {
  return request({
    url: '/aggregateservice-web/api/news/listNews',
    method: 'post',
    data
  })
}

export function getNews (data) {
  return request({
    url: '/aggregateservice-web/api/news/getNews',
    method: 'post',
    data
  })
}
